.section, .conversationsApp {
    width: 100%;
    height: 100%;
}
.section.conversations {
    transition: 200ms linear;
    height: calc(100% - 65px);
    padding-top: 65px;
}
.section.conversations .fm-right-files-block {
    height: 100%;
}
.js-messages-scroll-area.ps--in-scrolling,
.js-messages-scroll-area.ps--in-scrolling:hover {
    pointer-events: initial;
}
.conversation-panels, .conversation-panel {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    position: relative;
}
.chat-content-block {
    height: 100%;
    position: relative;
    z-index: 0;
}
.chat-content-block,
.chat-content-block .chat-topic-block,
.chat-content-block .messages-block {
    transition: margin-right 200ms ease-in-out;
}
.chat-content-block.no-pane,
.chat-content-block.no-pane .chat-topic-block,
.chat-content-block.no-pane .messages-block {
    margin-right: 0px;
}
.chat-content-block.private-chat .chat-heading-area {
    background-color: #F4F8F9;
    border-bottom: 1px solid #D9E6EB;
}
.chat-content-block.private-chat .chat-right-area {
    background-color: #F4F8F9;
}
.chat-content-block.private-chat .chat-right-area::after {
    background-color: #D9E6EB;
}
.chat-content-block.private-chat .chat-button-separator {
    background-color: #D9E6EB;
}
.chat-content-block.private-chat .chat-right-area .buttons-block, .chat-content-block.private-chat .public-observer-block {
    border-top: 1px solid #D9E6EB;
}
.chat-content-block.private-chat .chat-right-head-txt, .chat-content-block.private-chat .chat-heading span {
    color: #273B44;
}
.chat-content-block.private-chat .link-button span {
    color: #4E6B78;
}
.chat-right-area {
    width: 256px;
    height: calc(100% - 48px);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: var(--mobile-page-background);
    position: absolute;
    right: 0;
}
.rtl .chat-right-area {
    direction: rtl;
}
.chat-right-area::after {
    content: '';
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
}
.chat-right-area .chat-right-area {
    float: none;
    border-left: 1px solid var(--divider-color);
    top: 48px;
}
.chat-right-pad {
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}
.chat-right-head {
    clear: both;
    padding: 4px 16px 24px 16px;
}
.chat-right-head-txt {
    font-size: 15px;
    line-height: 22px;
    color: #111;
    font-family: 'LatoWebSemibold', 'source_sans_prosemibold';
    padding: 0 0 0 0;
}
.chat-grey-counter {
    float: right;
    background-color: #777777;
    height: 16px;
    padding: 0 6px;
    margin: 2px 0 0 0;
    border-radius: 4px;
    color: white;
    font-size: 11px;
    line-height: 16px;
}
.chat-contacts-list .buttons-block {
    min-height: 192px;
}
.chat-contacts-list-inner .contacts-info.body.right-chat-contact-card {
    min-height: 49px;
}
.chat-right-pad .contacts-info.body {
    padding: 8px 0 8px 22px;
}
.contacts-info.body {
    padding: 6px 0;
    /*position: relative;*/
    clear: both;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}
.contacts-info.body.short {
    padding: 0;
}
.short .small-rounded-avatar {
    border-radius: 4px;
    width: 32px;
    height: 32px;
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.short .small-rounded-avatar::before {
    display: none;
}
.short .user-card-name.light {
    display: inline-block;
    font-size: 14px;
    line-height: 17px;
    vertical-align: top;
    max-width: 100%;
}
.short .user-card-data {
    padding: 0 30px 0 5px;
}
.chat-topic-block .contacts-info.body.short {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    font-size: 0;
    line-height: 0;
}
.chat-topic-block .small-rounded-avatar {
    margin: 8px 0;
}
.chat-topic-block .contacts-info .user-card-data {
    overflow: hidden;
    padding-inline-start: 12px;
}
.chat-topic-block .contacts-info .user-card-data .user-card-name {
    max-width: 100%;
}
.contacts-info.body.short {
    padding: 0;
}
.short .small-rounded-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    border: 0;
    box-shadow: none;
    font: var(--text-body1);
}
.short .small-rounded-avatar img {
    width: 32px;
    height: 32px;
}
.short .small-rounded-avatar::before {
    display: none;
}
.short .user-card-name.light {
    display: inline-block;
    font-size: 14px;
    line-height: 17px;
    vertical-align: top;
    max-width: 91%;
}
.short .user-card-status span {
    display: inline-block;
    font: var(--text-body2);
    color: var(--text-color-low);
    vertical-align: top;
}
.short .user-card-presence {
    margin: 6px 4px 6px 2px;
    vertical-align: top;
}
.chat-topic-buttons .button {
    margin: 0 0 0 26px;
    cursor: pointer;
}
.chat-topic-buttons .disabled .button {
    cursor: default;
}
.chat-topic-buttons i {
    --icon-size: 24px;
    --mask-color: var(--secondary-blue);
}
.contacts-info .tiny-button {
    margin: 1px 0 0 0;
    position: absolute;
    right: 4px;
}
.contacts-info .user-card-data {
    line-height: 0;
    padding-inline-start: 10px;
    padding-inline-end: 15px;
}
.rtl .contacts-info .user-card-data {
    max-width: 74%;
}
.chat-right-area .buttons-block {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 14px 16px;
    margin: 16px 0px;
}
.chat-right-area .buttons-block .chat-right-head-txt {
    margin-bottom: 14px;
}
.chat-right-area .room-settings-banner {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin: 10px 0;
    width: 100%;
    overflow: hidden;
    clear: both;
    font: var(--text-body2);
    color: var(--text-color-medium);
}
.chat-right-area .room-settings-banner i {
    padding: 0 7px;
    --icon-size: 22px;
    --mask-color: var(--icon-rest);
}
.chat-right-area .room-settings-banner a {
    color: var(--secondary-blue);
    padding: 0 3px;
}
.chat-right-area .link-button {
    white-space: normal;
    margin: 2px 0;
    width: 100%;
}
.chat-right-area .link-button i {
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
}
.rtl .chat-right-area .link-button i {
    float: right;
    margin: 4px 6px 0 0;
}
.chat-right-area .link-button.light:not(.disabled):hover i,
.chat-right-area .dropdown-item.link-button.light:not(.disabled):hover i {
    --mask-color: var(--icon-active);
}
.chat-right-area .link-button.room-settings-button {
    height: auto;
}
.chat-right-area .link-button .mega-switch {
    position: absolute;
    top: 4px;
    right: 6px;
}
.rtl .chat-right-area .link-button .mega-switch {
    left: 6px;
    right: unset;
}
.chat-right-area .link-button.disabled .mega-switch,
.chat-right-area .link-button.disabled .mega-feature-switch {
    cursor: default;
}
.chat-right-area .link-button.push-settings-button {
    height: auto;
}
.chat-right-area .link-button.light.push-settings-button > span:first-of-type,
.chat-right-area .link-button.light.room-settings-button > span:first-of-type {
    width: calc(100% - 100px);
}
.chat-right-area .link-button.push-settings-button span.label--green {
    display: block;
    margin: -10px 0 0 0;
    color: var(--text-color-medium);
}
.chat-right-area .link-button.room-settings-button span.label--green {
    display: block;
    padding-inline-start: 35px;
    line-height: 18px;
    color: var(--text-color-low);
}
.chat-right-area .link-button.push-settings-button span.label--green strong {
    color: var(--label-green);
    font: var(--text-body1-bold);
}
.chat-right-area .link-button.clear-history-button {
    height: auto;
}
.chat-right-area .link-button.history-retention-btn {
    height: 53px;
}

.chat-right-area .link-button.history-retention-btn .label--red {
    line-height: 18px;
    color: var(--label-red);
}

.chat-right-area .link-button.green {
    color: var(--label-green);
}
.chat-right-area .link-button i.get-link {
    margin-right: 0;
    margin-left: 7px;
}
.chat-right-area .big-button {
    margin: 25px 23px 0 23px;
}
.right-chat-contact-card .contact-card-dropdown .dropdown-white-arrow {
    margin-left: 59px;
}
.date-time {
    font: var(--text-body2);
    color: var(--text-color-medium);
}
.round-icon-block {
    width: 36px;
    height: 36px;
    display: block;
    border: 2px solid white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 100%;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.1);
    overflow: hidden;
}
.grey-color {
    color: #999999;
}
.buttons-block {
    padding: 11px 0 0 0;
}
.contacts-info .contacts-icon {
    float: right;
    margin-top: 5px;
    margin-inline-end: 4px;
}
.rtl .contacts-info .contacts-icon {
    float: left;
}
.contacts-info .contacts-icon:hover {
    border-radius: 4px;
}
.contacts-info .contacts-icon i {
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
}
.group-chat .contacts-info .user-card-data {
    padding-left: 10px;
    overflow: hidden;
    height: 32px;
    line-height: 32px;
    margin-inline-end: 15px;
    padding-inline-end: 0;
}
.chat-heading-area {
    height: 36px;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}
.chat-heading-area .chat-heading {
    display: inline-block;
    line-height: 38px;
}
.chat-heading-area .chat-heading span {
    margin: 0 12px 0 24px;
    font-family: 'source_sans_prosemibold';
    font-size: 15px;
}
.chat-heading-area .chat-heading i {
    margin-top: 8px;
}
.add-chat-contact {
    font-size: 14px;
    color: #2BA6DE;
    text-align: left;
    font-family: 'source_sans_prosemibold';
    padding-left: 20px;
    margin-top: 15px;
    margin-bottom: 20px;
    cursor: pointer;
}
.chat-button-separator {
    display: block;
    width: 100%;
    border-top: 1px solid var(--divider-color);
    margin: 4px 0;
}
.dropdown.body.wide-dropdown.attach-to-chat-popup.light {
    padding-bottom: 8px;
}
.public-observer-block {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 20px 0 24px;
    margin: 16px 16px 0 16px;
}
.public-observer-block .chat-white-counter {
    float: right;
    background-color: rgba(0,0,0,0);
    height: 16px;
    padding: 0 6px;
    margin: 2px 0 0 0;
    border-radius: 4px;
    color: #666;
    border: 1px solid #777;
    font-size: 12px;
    line-height: 16px;
}
.join-chat-block {
    height: 72px;
    text-align: center;
    background-color: var(--stroke-main);
}
.join-chat-block .join-chat-button:hover {
    opacity: 1;
    -webkit-transition: opacity 150ms ease-in-out;
    -moz-transition: opacity 150ms ease-in-out;
    -o-transition: opacity 150ms ease-in-out;
    -ms-transition: opacity 150ms ease-in-out;
    transition: opacity 150ms ease-in-out;
}
.group-chat .chat-right-pad .contacts-info.body {
    padding: 0 1px 0 0;
    height: 32px;
}
.group-chat .contacts-info .contacts-icon {
    margin: 2px 0 0 0;
    padding: 2px 3px 2px 3px;
}
.group-chat .chat-contacts-list-inner .contacts-info.body.right-chat-contact-card {
    max-height: 36px;
    min-height: 32px;
}

.chat-dropdown.container.is-loading {
    opacity: 0.4;
}
.chat-shared-files-container {
    opacity: 1;
    transition: opacity 150ms ease-in-out;
}
.chat-shared-files-container.is-loading {
    opacity: 0.4;
}

.chat-dropdown.header {
    align-items: center;
    box-sizing: content-box;
    color: var(--text-color-high);
    cursor: pointer;
    display: flex;
    font: var(--text-h3-bold);
    height: 48px;
    justify-content: space-between;
    padding-inline-start: 10px;
    padding-inline-end: 10px;
}
.chat-dropdown ~ .chat-dropdown .chat-dropdown.header {
    border-top: 1px solid var(--divider-color);
}
.chat-dropdown.content {
    padding: 0 14px 4px 14px;
    line-height: 0;
}
.chat-dropdown.content.chat-occurrences-panel {
    padding: 0 10px 4px 0;
    line-height: inherit;
}
.chat-dropdown.content.buttons {
    padding: 0 8px 4px 8px;
}
.chat-dropdown.content.small-pad {
    padding: 0 10px 4px 12px;
}
@-webkit-keyframes fadeinslide {
    0% {
        opacity: 0.2;
        transform: translateY(-10px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes fadeinslide {
    0% {
        opacity: 0.2;
        transform: translateY(-4px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
.chat-dropdown.content.small-pad {
    -webkit-animation: fadeinslide 0.2s forwards ease-in;
    animation: fadeinslide 0.2s forwards ease-in;
}
.chat-dropdown.content.small-pad .link-button {
    margin: 4px -2px 4px -4px;
    width: auto;
    display: block;
}
.chat-dropdown.header i {
    transform: rotate(-90deg);
    transition: transform 200ms ease-in-out;
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
}
.chat-dropdown.header.expanded i {
    transform: rotate(0deg);
}
.chat-dropdown.empty-txt {
    padding: 0 0 10px 0;
    font: var(--text-body1);
    color: var(--text-color-high);
}
.chat-dropdown.empty-txt.loading-initial {
    min-height: 120px;
}
.chat-dropdown .link-button.light span,
.chat-dropdown .dropdown-item.link-button.light span {
    padding-inline-start: 35px;
    padding-inline-end: 0;
}
.rtl .chat-dropdown .link-button.light span {
    text-align: right;
}
.chat-dropdown button.invite-dialog-btn {
    margin: 6px 0;
    --mask-color: var(--secondary-green);
}
.chat-dropdown button.invite-dialog-btn span {
    font: var(--text-body1-bold);
}
.chat-shared-block {
    padding: 5px 0;
    position: relative;
    border-top: 1px solid var(--divider-color);
    opacity: 1;
    transition: opacity 150ms ease-in-out;
}
.chat-shared-block.is-loading {
    opacity: 0.3;
}
.chat-shared-block > * {
    cursor: pointer;
}
.chat-shared-block .shared-folder-access{
    position: absolute;
    top: 23px;
    z-index: 1;
    right: -5px;
}
.chat-shared-block:first-child {
    border: 0;
}
.chat-shared-block > * {
    -webkit-animation: fadeinslide 0.2s forwards ease-in;
    animation: fadeinslide 0.2s forwards ease-in;
}
.chat-shared-block .item-type-icon-90 {
    --icon-size: 48px;
    float: left;
    margin: 4px -6px;
}
.chat-shared-block .icon-or-thumb  .img-wrapper {
    display: none;
}
.chat-shared-block .icon-or-thumb.thumb .img-wrapper {
    display: block;
}
.chat-shared-block .icon-or-thumb.thumb .item-type-icon-90 {
    display: none;
}

.chat-shared-block .chat-shared-info {
    padding: 0 0 0 51px;
    font: var(--text-body1-bold);
    color: var(--text-color-medium);
}
.chat-shared-block.incoming .chat-shared-info {
    padding: 9px 35px 9px 51px;
    text-align: left;
}
.chat-shared-block .chat-shared-info .txt {
    display: block;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}
.chat-shared-block .chat-shared-info .txt:first-child {
    font: var(--text-body1-bold);
    color: var(--text-color-high);
}
.chat-shared-block .chat-shared-info .small {
    font: var(--text-body2);
    min-height: 18px;
}
.chat-shared-block .chat-shared-info .small .emoji {
    width: 14px;
    height: 14px;
}
.chat-shared-block .chat-shared-info .grey {
    color: var(--text-color-low);
}
.chat-shared-block .img-wrapper {
    width: 36px;
    height: 36px;
        margin: 9px 0 0 0;
    border-radius: 4px;
    overflow: hidden;
    float: left;
    background-repeat: repeat;
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0px;
    background-image: linear-gradient(45deg, rgba(222,222,222,0.72) 25%, transparent 25%), linear-gradient(-45deg, rgba(222,222,222,0.72) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(222,222,222,0.72) 75%), linear-gradient(-45deg, transparent 75%, rgba(222,222,222,0.72) 75%);
    position: relative;
}
.chat-shared-block .img-wrapper img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.chat-share-nav.body {
    text-align: center;
    margin: 13px 0 12px 0;
    position: relative;
}
.chat-share-nav.show-all {
    cursor: pointer;
}
.chat-share-nav.body::before {
    content: '';
    display: block;
    border-top: 1px solid var(--divider-color);
    position: absolute;
    width: 100%;
    top: -13px;
    left: 0;
}
.chat-share-nav.body span {
    --icon-size: 24px;
    display: inline-block;
    vertical-align: top;
    font-size: 13px;
    line-height: 18px;
    position: relative;
}
.chat-share-nav.button {
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background: #ffffff;
    background: url();
    background: -moz-linear-gradient(top, #ffffff 0%, #fefefe 100%);
    background: -webkit-linear-gradient(top, #ffffff 0%,#fefefe 100%);
    background: linear-gradient(to bottom, #ffffff 0%,#fefefe 100%);
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.45);
    -moz-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.45);
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.45);
    position: relative;
    cursor: pointer;
    float: left;
    margin: 4px 0 0 0;
}
.chat-share-nav.button::before {
    content:'';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    background-image: url(../images/mega/new-chat-sprite.png);
    background-position: -41px -973px;
}
.chat-share-nav.button.next {
    float: right;
}
.chat-share-nav.button.next::before {
    background-position: -67px -973px;
}
.chat-share-nav.pages {
    font: var(--text-body2);
    color: var(--text-color-high);
    text-align: center;
    padding: 7px 30px 3px 30px;
}
.chat-share-nav.body .txt {
    padding: 2px 0 0 6px;
}
.chat-share-nav .item-type-icon {
    position: absolute;
    left: 0;
    top: 0;
}
.chat-share-nav .item-type-icon .item-type-icon {
    position: absolute;
    left: 3px;
    top: -2px;
}
/* Old chat stuff */
.fm-chat-popup-button {
    height: 32px;
    line-height: 31px;
    padding: 0 15px 0 50px;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    color: #cccccc;
    white-space: nowrap;
    background-color: rgba(255,255,255,0);
    -webkit-transition: background-color 200ms ease-in-out;
    -moz-transition: background-color 200ms ease-in-out;
    -o-transition: background-color 200ms ease-in-out;
    -ms-transition: background-color 200ms ease-in-out;
    transition: background-color 200ms ease-in-out;
    background-image: url(../images/mega/fm-main-sprite.png);
    background-position: 0 -2516px;
    background-repeat: no-repeat;
}
.fm-chat-popup-button:hover, .fm-chat-popup-button.active {
    background-color: rgba(213,22,0,1);
    color: white;
}
.fm-chat-popup-button.start-chat, .fm-chat-popup-button.disabled.start-chat, .fm-chat-popup-button.disabled.start-chat:hover {
    background-position: 0 -7018px;
}
.fm-chat-popup-button.start-chat:hover, .fm-chat-popup-button.start-chat.active {
    background-position: 0 -7260px;
    background-color: rgba(29,161,233,1);
}
.fm-chat-popup-button.start-audio, .fm-chat-popup-button.disabled.start-audio, .fm-chat-popup-button.disabled.start-audio:hover {
    background-position: 1px -1799px;
}
.fm-chat-popup-button.start-audio:hover, .fm-chat-popup-button.start-audio.active {
    background-position: 0px -2259px;
    background-color: rgba(29,161,233,1);
}
.fm-chat-popup-button.start-video, .fm-chat-popup-button.disabled.start-video, .fm-chat-popup-button.disabled.start-video:hover {
    background-position: -1px -1764px;
}
.fm-chat-popup-button.start-video:hover, .fm-chat-popup-button.start-video.active {
    background-position: -1px -2004px;
    background-color: rgba(29,161,233,1);
}
.fm-chat-popup-button.disabled, .fm-chat-popup-button.disabled:hover {
    opacity: 0.6;
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
    -moz-opacity: 0.6;
    -khtml-opacity: 0.6;
    background-color: transparent !important;
    color: #cccccc;
    cursor: default;
}
.fm-chat-user-info {
    float: left;
    margin: 7px 0 0 12px;
    display: block;
}
.fm-chat-user {
    font-size: 14px;
    line-height: 18px;
    color: #333;
    margin-right: 20px;
    font-family: 'source_sans_prosemibold';
    display: block;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}
.calculated-width {
    width: -webkit-calc(100% - 330px);
    width:    -moz-calc(100% - 330px);
    width:         calc(100% - 330px);
}
/* End of Old chat stuff */

.chat-right-pad .link-button .small-icon.chat-lock {
    margin-top: 3px;
}
.chat-contactspicker-no-contacts .section-icon {
    --icon-size: 120px;
    --mask-color: var(--secondary-grey);
    display: inline-block;
}
.chat-contactspicker-no-contacts .fm-empty-description {
    padding: 1px 0 29px;
}
.group-chat-dialog.description.chatlinks-intermediate-msg {
    margin: 4px 48px 0 48px;
    padding: 8px;
    background: var(--banner-background-error);
    border: 1px solid var(--banner-border-error);
    border-radius: 4px;
    font: var(--text-body1);
    color: var(--banner-text-error);
    text-align: center;
}
.intermediate-state {
    opacity: 0.3;
}
.contacts-search-header.failed {
    border-color: red;
}
.contacts-search-header .mega-input.title-ontop {
    margin: 20px auto 10px;
}

.accordion-panels .accordion-text {
    border-top: 1px solid var(--divider-color);
    padding: 13px 10px;
    height: 48px;
    box-sizing: border-box;
    color: var(--text-color-high);
    font: var(--text-h3-bold);
    position: relative;
}

.accordion-panels .accordion-text.observers span.observers-count {
    float: right;
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    min-width: 25px;
    border: 1px solid var(--divider-color);
    border-radius: 4px;
    font: var(--text-caption);
}
.accordion-panels .accordion-text.observers span.observers-count i {
    --icon-size: 16px;
    --mask-color: var(--icon-rest);
}

.chat-topic-block .disabled,
.chat-right-pad .disabled,
.chat-right-pad .disabled.button {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    /* Firefox 10+ */
    filter: gray;                        /* IE6-9 */
    -webkit-filter: grayscale(1);     /* Chrome 19+ & Safari 6+ */
    -webkit-transition: all .6s ease;    /* Fade to color for Chrome and Safari */
    -webkit-backface-visibility: hidden;
    opacity: 0.5;
}




.chat-links-preview-desktop .chatlink-contents {
    text-align: center;
}

.chat-links-preview-desktop .bottom-buttons {
    background: var(--surface-grey-1);
    height: 60px;
    border-bottom-right-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    padding: 12px 18px;
    position: relative;
    text-align: center;
}

.chat-links-preview-desktop .bottom-buttons button {
    margin-left: 10px;
}

.chat-links-preview-desktop .huge-icon {
    margin-top: 16px;
}

.chat-links-preview-desktop .chatlink-contents span {
    display: block;
    color: var(--text-color-medium);
    font-size: 16px;
    margin-top: 32px;
    margin-bottom: 24px;
}
.chat-links-preview-desktop .chatlink-contents h3 {
    color: var(--text-color-medium);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.52px;
    line-height: 24px;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 6px;
}
.chat-links-preview-desktop .chatlink-contents h5 {
    color: var(--text-color-medium);
    font-size: 16px;
    font-weight: normal;
    letter-spacing: -0.18px;
    line-height: 21px;
    text-align: center;
    margin: 0;
    margin-bottom: 32px;
    margin-top: 12px;
}

.chat-links-preview-desktop .chatlink-contents a.join-chat {
    background-color: rgba(0,191,165,1);
    border-radius: 4px;
    color: rgba(255,255,255,1);
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    padding: 0 24px;
    width: 35%;
    display: block;
    margin: 0 auto;
}

.chat-links-preview-desktop .chatlink-contents a.not-now {
    color: #F0373A;
    font-size: 16px;
    text-align: center;
    padding: 0 24px;
    width: 60%;
    display: block;
    margin: 0 auto;
    margin-bottom: 18px;
    margin-top: 24px;
}

.chat-links-preview-desktop .chatlink-contents p {
    width: 80%;
    margin: 32px auto 32px auto;
    font-size: 15px;
    line-height: 20px;
}
.chat-links-preview-desktop .chatlink-contents p,
.chat-links-preview-desktop .chatlink-contents a.join-chat,
.chat-links-preview-desktop .chatlink-contents a.not-now {
    max-width: 500px;
}

.chat-links-preview-desktop .fm-dialog-title {
    font-size: 16px;
}

.chat-enable-key-rotation-paragraph p {
    line-height: 18px;
    margin-top: 0;
    padding-top: 0;
    color: var(--text-color-low);
    font: var(--text-body2);
}

button.new-chat-link {
    margin: 24px 0 0 0;
}
button.fm-empty-button {
    margin: 0;
}
.chat-contactspicker-no-contacts {
    text-align: center;
    padding: 0 48px;
}
.main-start-chat-dropdown .chat-contactspicker-no-contacts {
    min-height: 358px;
}
.chat-contactspicker-no-contacts .empty-share-public {
    text-align: center;
    display: block;
    margin-bottom: 50px;
}

.main-start-chat-dropdown.lhp-contact-selector .button-wrapper {
    display: flex;
    align-items: baseline;
    text-align: start;
    cursor: pointer;
}
.main-start-chat-dropdown.lhp-contact-selector .button-wrapper .button-title {
    padding-inline-start: 8px;
}

.dropdown.body.popup.contacts-search > div {
    position: relative;
    z-index: 100;
}

@keyframes fadeInOutLoopSubtle {
    0%   { opacity:1; }
    50%  { opacity:0.3; }
    100% { opacity:1; }
}
@-o-keyframes fadeInOutLoopSubtle {
    0%   { opacity:1; }
    50%  { opacity:0.3; }
    100% { opacity:1; }
}
@-moz-keyframes fadeInOutLoopSubtle {
    0%   { opacity:1; }
    50%  { opacity:0.3; }
    100% { opacity:1; }
}
@-webkit-keyframes fadeInOutLoopSubtle {
    0%   { opacity:1; }
    50%  { opacity:0.3; }
    100% { opacity:1; }
}

.contact-button-loading {
    display: inline-block;
    max-width: calc(100% - 60px);
    padding: 0 10px 0 0;
}

.contact-name-loading {
    background-color: #E5E5E5;
    width: 96px;
    height: 10px;
    display: inline-block;
    border-radius: 3px;
    content: "...";
    padding: 0 10px 0 0;
    vertical-align: top;
    box-sizing: border-box;
    position: relative;
    margin: 5px 0 4px 0;
    -webkit-animation: fadeInOutLoopSubtle 2s linear infinite;
    animation: fadeInOutLoopSubtle 2s linear infinite;
}

.contacts-info.body.right-chat-contact-card .contact-name-loading {
    margin: 6px 0 0 0;
}

.avatar-wrapper.default-bg {
    -webkit-animation: fadeInOutLoopSubtle 2s linear infinite;
    animation: fadeInOutLoopSubtle 2s linear infinite;
    background: url(../images/mega/avatar-loading.svg);
    background-size: auto 44px;
    background-position: 0 -6px;
}
.group-chat .chat-right-pad .avatar-wrapper.default-bg  {
    background-size: auto;
    background-position: 0 -4px;
}
.medium-avatar.default-bg {
    background-size: auto 248px;
    background-position: -14px -38px;
}
.chat-contacts-list .ps--active-y .right-chat-contact-card {
    width: 220px !important;
}

.mega-dialog.meetings-call-ended-dialog {
    width: 100%;
}

.mega-dialog.meetings-call-ended-dialog header > div > h3 {
    margin-left: 20px;
    margin-top: 4px;
}
.mega-dialog.meetings-call-ended-dialog header > div > .avatar {
    transform: scale(1.2);
}

.chat-links-logo-header {
    display: block;
    height: 44px;
    opacity: 1;
    overflow: visible;
    margin-top: 4px;
}
.chat-links-blocked {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.chat-links-blocked h2 {
    font: var(--mobile-font-heading-h2);
    color: var(--mobile-text-primary);
    margin: 0;
}
.chat-links-blocked p {
    font: var(--text-body1);
    color: var(--text-color-low);
    margin: 8px auto 16px;
}
.chat-links-blocked i {
    width: 52px;
    height: 52px;
    margin: 0 0 30px
}

.chat-links-blocked .chat-links-blocked-btn-block {
    display: flex;
    flex-direction: column;
    height: 140px;
    padding: 0 40px 30px;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.chat-links-blocked .chat-links-blocked-btn-block a {
    font: var(--text-h3);
    text-decoration: underline;
    color: var(--text-color-high);
}

.chat-links-preview,
.chat-links-preview .chat-app-container {
    height: 100%;
}

.fm-right-files-block.in-chat.chatlink {
    margin-inline-start: 0;
}
.chat-links-preview {
    overflow: hidden;
}
.conversationsApp .overflow-observer,
.dropdown.body .overflow-observer,
.overflow-observer {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* In-call notifications */
.in-call-notif {
    color: var(--text-color-white-high);
    height: 24px;
    position: absolute;
    top: 36px;
    z-index: 12;
    animation: fadein 2s;
    width: 100%;
    font: var(--text-body1);
    padding: 5px 0 0;
}

.in-call-notif span {
    vertical-align: top;
    display: inline-block;
    margin: 3px 0 0;
}

.in-call-notif i {
    vertical-align: top;
    display: inline-block;
    --icon-size: 24px;
    margin: 1px 7px 0;
    --mask-color: var(--icon-rest);
}

.in-call-notif.green {
    background-color: var(--secondary-green);
}

.in-call-notif.gray {
    background-color: var(--stroke-grey-1);
    color: var(--text-color-high);
}

.in-call-notif.neutral {
    white-space: nowrap;
    min-width: 254px;
    box-sizing: border-box;
    height: 36px;
    border: var(--stroke-grey-2);
    left: 50%;
    transform: translateX(-50%);
    top: 12px;
    color: var(--text-color-high);
    border-radius: 18px;
    text-align: center;
    background-color: var(--stroke-grey-1);
    width: auto;
    box-shadow: var(--dialog-shadow);
}

.in-call-notif.neutral.start {
    padding: 6px 8px;
    min-width: auto;
    height: auto;
}

.in-call-notif.neutral.join button,
.in-call-notif.neutral.start button {
    border-radius: 12px;
    padding: 0 12px;
    transition: color 200ms ease-in-out, background-color 200ms ease-in-out, border-color 200ms ease-in-out;
    display: inline-block;
    height: 24px;
    margin: -2px 7px 0 24px;
}

.in-call-notif.neutral.start button {
    margin: auto;
}

.in-call-notif.neutral .small-icon {
    margin-top: 7px;
    margin-left: 10px;
    margin-right: 10px;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.in-call-notif.yellow {
    background-color: rgba(255, 165, 0, 0.8);
}

.in-call-notif.yellow.join {
    top: 0;
    text-align: center;
}

/* Occurrences RHP */

.chat-occurrences-list {
    margin: 0 0 10px;
    height: 420px;
}

.chat-occurrences-list-inner {
    padding-top: 5px;
    padding-inline-end: 12px;
}

.chat-occurrences-list-inner .loading-sketch {
    animation: fadeInOutLoopSubtle 2s linear infinite;
}

.chat-occurrence {
    margin: 0 0 24px;
    padding: 0 0 0 10px;
    font: var(--text-body2);
}

.chat-occurrence:last-child {
    padding-bottom: 15px;
}

.chat-occurrence:hover .chat-occurrence-controls {
    opacity: 1;
    transition: opacity 400ms ease-in-out;
}

.chat-occurrence:hover .chat-occurrence-content {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 200ms ease-in;
}

.chat-occurrence-date,
.chat-occurrence-title {
    font: var(--text-body2-bold);
    color: var(--text-color-high);
}

.chat-occurrence-date span {
    margin: 0 2px 0 0;
}

.loading-sketch .chat-occurrence-date,
.loading-sketch .chat-occurrence-title,
.loading-sketch .chat-occurrence-time {
    height: 10px;
    padding: 0;
    border-radius: 3px;
    background: #CBCBCB;
}

.loading-sketch .chat-occurrence-title {
    width: 90%;
    margin: 0 0 7px;
}

.loading-sketch .chat-occurrence-time {
    width: 70%;
}

.chat-occurrence-content {
    position: relative;
    margin: 8px 0 0;
    padding: 8px;
    border-radius: 4px;
    box-sizing: border-box;
    background: var(--surface-grey-2);
}

.chat-occurrence-title {
    overflow: hidden;
    padding: 0 0 6px;
    max-width: calc(100% - 50px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-occurrence-controls {
    position: absolute;
    top: 8px;
    right: 0;
    --icon-size: 18px;
    opacity: 0;
}
.rtl .chat-occurrence-controls {
    left: 0;
    right: unset;
}

.chat-occurrence-control {
    float: left;
    margin-inline-end: 8px;
    cursor: pointer;
}

.rtl .chat-occurrence-control {
    float: right;
}

.mega-dialog.scheduled-description-dialog header h3 {
    text-align: start;
    padding: 24px 24px 12px;
}
.mega-dialog.scheduled-description-dialog section {
    max-height: 530px;
    min-height: 120px;
    padding: 0 24px 24px;
}
.mega-dialog.scheduled-description-dialog .description-scroller {
    padding-inline-end: 26px;
}
.mega-dialog.scheduled-description-dialog span {
    overflow-wrap: break-word;
}
.in-call .global-toast-container .toast-slot.mic-change {
    position: relative;
    top: -100px;
}
.dropdown.input-sources {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 16px 8px;
    position: absolute;
    margin: 8px 0 0;
    border-radius: 12px;
    border: var(--context-menu-border);
    background: var(--surface-main);
    box-shadow: var(--dropdown-shadow);
    width: 320px;
    z-index: 2100;
}
.dropdown.input-sources div {
    width: 100%;
}
.dropdown.input-sources .dropdown-item {
    padding: 0 4px;
}
.dropdown.input-sources .dropdown-item > div {
    display: flex;
    align-items: center;
}
.dropdown.input-sources .dropdown-item i {
    --icon-size: 16px;
    margin-inline-start: 8px;
}
.dropdown.input-sources hr {
    --divider-color: var(--stroke-grey-2);
}
.dropdown.input-sources .dropdown-item span {
    min-width: calc(100% - 16px);
}
.dropdown.input-sources div.source-label {
    color: var(--text-color-high);
    font: var(--text-body1);
    margin: 16px 0 8px;
    padding: 0 4px;
}
.dropdown.input-sources div.av-device-name {
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto;
}

.conversation-panel .call-user-limit-banner {
    background: rgba(255, 153, 36, 1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 1);
    padding: 4px;
    position: absolute;
    top: 8px;
    left: 8px;
    text-align: center;
    width: calc(100% - 25px);
    z-index: 120;
}
